package com.shujia.wyh.day22.homework;

import java.util.Map;

public class StudentEntry<K,V> {
    private Map.Entry<K, V> mapEntry;

    public StudentEntry() {
    }

    public StudentEntry(Map.Entry<K, V> mapEntry) {
        this.mapEntry = mapEntry;
    }

    public Map.Entry<K, V> getMapEntry() {
        return mapEntry;
    }

    public void setMapEntry(Map.Entry<K, V> mapEntry) {
        this.mapEntry = mapEntry;
    }

    @Override
    public String toString() {
        return "StudentEntry{" +
                "mapEntry=" + mapEntry +
                '}';
    }
}
